package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.Farewell;

/**
 * 午别Mapper接口
 * 
 * @author dp
 * @date 2023-11-27
 */
public interface FarewellMapper
{
    /**
     * 查询午别
     * 
     * @param farewellId 午别主键
     * @return 午别
     */
    public Farewell selectFarewellByFarewellId(Long farewellId);

    /**
     * 查询午别列表
     * 
     * @param farewell 午别
     * @return 午别集合
     */
    public List<Farewell> selectFarewellList(Farewell farewell);

    /**
     * 新增午别
     * 
     * @param farewell 午别
     * @return 结果
     */
    public int insertFarewell(Farewell farewell);

    /**
     * 修改午别
     * 
     * @param farewell 午别
     * @return 结果
     */
    public int updateFarewell(Farewell farewell);

    /**
     * 删除午别
     * 
     * @param farewellId 午别主键
     * @return 结果
     */
    public int deleteFarewellByFarewellId(Long farewellId);

    /**
     * 批量删除午别
     * 
     * @param farewellIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteFarewellByFarewellIds(Long[] farewellIds);
}
